home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / UTILITY / DO1002.ARJ / PASSWORD.SCR < prev    next >
Text File  |  1991-12-03  |  2KB  |  58 lines

  1. .pg wi full clr cy
  2.     COMMAND NAME»gray«: »%t« GenPassword »ye«
  3.  
  4.     /PASSWORD {filename} {pattern} {seed}
  5. /cw
  6.     »wh«Retrieves/Generates a password based on »cy«{pattern}»wh«.»#«
  7.  
  8.     This function is used primarily with communications functions
  9.     to generate a new random password for systems which require
  10.     you to change your password at intervals.
  11. »wh«
  12.     {filename}»#«    The name of a text file from which to read the
  13.                   password or into which to write the generated
  14.                   password.
  15. »wh«
  16.     {pattern}»#«     A template to be used when generating a new
  17.                   password.  If pattern is included, a »gr«NEW»#« password
  18.                   will be generated, otherwise the »ye«OLD»#« password
  19.                   will be read from »cy«{filename}»#«.
  20. »wh«
  21.     {seed}»#«        A number used to seed the random number
  22.                   generator.  The same »cy«{seed}»#« will generate
  23.                   the same sequence of passwords.
  24.  
  25.     The password is stored in the variable »ye«PASSWORD»#«.
  26.  
  27. .pg clr
  28.     The characters used in »cy«{pattern}»#« are indicated below:
  29.  
  30.      »wh«?»cy« = »#«any character from the sets below
  31.      »wh«$»cy« = »#«any alpha character   (»cy«ABCDEFGHIJKLMNOPQRSTUVWXYZ»#«)
  32.      »wh«#»cy« = »#«any numeric character (»cy«0123456789»#«)
  33.      »wh«%»cy« = »#«any special character (»cy«!#$^&*()<>?+=»#«)
  34.  
  35.    any other character will be placed in the password directly.
  36.  
  37.    If »cy«{seed}»#« is »wh«<> »re«0»#«, it will be used to set the randomize pattern.
  38.  
  39. .pg clr
  40.     »gr«EXAMPLES»gray«:»#«  Press »bo«<enter>»#« to execute each of the »%t«/PASSWORD»#«
  41.                commands below.
  42.  
  43.  
  44. |/PASSWORD PASSWORD.TMP ????#???? 5
  45.     Pattern  :  ????#????
  46.     Generated: "%password".
  47.  
  48. |/PASSWORD PASSWORD.TMP
  49.     Pattern  :  ????#????
  50.     Retrieved: "%password"
  51.  
  52. |/PASSWORD PASSWORD.TMP $#$#%$#?#% 10
  53.     Pattern  :  $#$#%%$#?#%%
  54.     Generated: "%password"
  55.  
  56. !q;del PASSWORD.TMP
  57. /ENDEXEC CLEAR
  58.